<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="myTags" tagdir="/WEB-INF/tags/components" %>
<%@ page import="data.ContentTypeDB" %>


<script type="text/javascript">
$(function() {
    $('#wysiwyg').wysiwyg();
});
</script>
<div id="createPostDiv">
	<form action="CreatePost" method="post">
		<div style="width:500px;">
		<div class="floatLeft"><label for="postTitle">Post Title:</label></div>
		<div class=""><input required="required" type="text" name="postTitle" /></div><br style="clear:both" />
		<div class="floatLeft"><label for="postContent">Post Content:</label>
		</div>
		<div class="floatRight"><textarea class="rte-zone" id="wysiwyg" rows="15" cols="110" name="postContent"></textarea></div><br style="clear:both" />
		<input type="submit" name="submit" value="Create Post" />
		</div>
	</form>
</div>